﻿using ReAnimation.MVP.ViewInterfaces;

namespace ReAnimation.MVP.Presenters
{
    public abstract class BasePresenter<T> where T: IView
    {
        protected T _view;
        public T View
        {
            get
            {
                return _view;
            }   
            set
            {
                _view = value;
                InitView();
            }
        }

        protected abstract void InitView();
    }
}